-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Segment Tree Beats #81
Conversation
chihhsi
commented
May 14, 2023
•
edited
Loading
edited
- Read Contribute to NTHU-CPP.
- Rebase to the latest main branch.
- List all the references.
- Successfully build the website by mdBook with no error after the change.
- Exclude any irrelevant files.
- Link to the issue which is related to your change.
- Review the content by myself.
- Pass tests/CI.
@harry900831 Waiting review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
大致瀏覽過後,我認為你完全搞錯什麼是 segment tree beats,你寫出來的內容只是普通的線段樹而已。
src/others/segment_tree_beats.md
Outdated
@@ -0,0 +1,782 @@ | |||
# Introduction to Segment Tree Beats | |||
## 前言 | |||
Segment Tree Beats(簡稱STB)是改良版本的線段樹,可以解決提升線段樹的效率。STB進行區間查詢和區間修改等基本操作時,可在保持時間複雜度不變的情況下,簡化不必要的操作。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
完全錯誤的介紹
src/others/segment_tree_beats.md
Outdated
# Introduction to Segment Tree Beats | ||
## 前言 | ||
Segment Tree Beats(簡稱STB)是改良版本的線段樹,可以解決提升線段樹的效率。STB進行區間查詢和區間修改等基本操作時,可在保持時間複雜度不變的情況下,簡化不必要的操作。 | ||
## 建造樹節點 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
請先介紹 stb 能解決什麼問題 再講方法
@harry900831 Waiting review |
Closing this PR because it won't be merged into main branch. |